/*
 * TimeLabel.h
 *
 *  Created on: Feb 16, 2012
 *      Author: hzheng
 */

#ifndef TIMELABEL_H_
#define TIMELABEL_H_

#include "Label.h"
#include "Thread.h"

namespace NS_LCD_AFW
{

class CTimeLabel: public NS_LCD_AFW::CLabel, public NS_LCD_AFW::CThread
{
public:
	CTimeLabel();
protected:
	virtual ~CTimeLabel();
public:
	virtual int stop();

protected:
	virtual void run();
	virtual int onCreate();

private:
	bool m_bRun;

private:
	DISABLE_COPY_CONSTRUCTOR_AND_ASSIGN_REFERENCE(CTimeLabel);
};

} /* namespace NS_LCD_AFW */
#endif /* TIMELABEL_H_ */
